<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta name="description" content="" />
	<meta name="keywords" content="" />

  	<?php $this->headTitle()->setPostfix(' - YesUp Accounts'); ?>
	<?php echo $this->headTitle(); ?>
	
	<script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="/js/jquery-ui-1.8.6.custom.min.js"></script>
	
	<link href="/css/ui/jquery-ui-1.8.6.custom.css" rel="stylesheet" media="all" />
	<link href="/css/themes/base/jquery.ui.all.css" rel="stylesheet" media="all" />
	<link href="/css/styles.css" rel="stylesheet" media="all" />
	
</head>

<body id="demos">
<!--[if IE 5]><div id="ie5" class="ie"><![endif]-->
<!--[if IE 6]><div id="ie6" class="ie"><![endif]-->
<!--[if IE 7]><div id="ie7" class="ie"><![endif]-->
<div id="wrapper">
	<div id="content-wrapper">
		<div id="content">
		
		<div class="content-top">
			<div id="demo-header">
				<div class=left><h2 style="cursor:pointer;" onclick="location='/admin';">YesUp Account Admin</h2></div>
				
				<div class="top-nav">
					<span><a href="/admin/client/">Clients</a></span>
					<span><a href="/admin/message/">Message</a></span>
					<span><a href="/admin/news/">News</a></span>
					<span><a href="/admin/settings/reset-password">Settings</a></span>
					<!-- span><a href="/admin/service">Serivces</a></span-->
<?php if ($this->admin_user_name=='ericli@yesup.com') : ?>
					<span><a href="/admin/user/">Admin Users</a></span>
<?php endif ?>
				</div>									

<?php if (!empty($this->admin_user_name)) : ?>
				<div class=right style="padding:22px 10px 0 0;"><a href="/admin/index/logout" class="btn"><span class="ui-title">Logout</span></a></div>				
				<div class=right style="padding:29px 20px 0 0;"><a href="/admin/settings/reset-password"><span class="ui-title"><?php echo $this->admin_user_name; ?></span></a></div>								
<?php else: ?>
				<div class=right style="padding:22px 10px 0 0;"><a href="/default/login/admin" class="btn"><span class="ui-title">Login</span></a></div>
<?php endif ?>					
				<div class="clearfix"></div>			
			</div>		
		</div>

		<div class="content">

		<div class="main-content">
		
			<?php echo $this->layout()->content;?>

		</div>
		
		</div>
		
		</div>
		
		<div class="clearfix"></div>
			<div id="footer">
				<a href="/admin" >Home</a> | 
				<a href="/admin/client" >Clients</a> | 
				<a href="/aboutus" >About us</a> | 
			</div>
		
			<div id="copyright">
				<?php echo $this->translate("Powered by"); ?> <a href="http://www.clicksor.com" >Clicksor.com</a>
			</div>
		</div>
		
	</div>


</div>
</body>
</html>
